package com.xiaomiMall.mange.domain.vo;

public class Address {

    /** 地址的主键id */
    private Long id;

    /** 用户的id */
    private Long userId;

    /** 收货人 */
    private String receiver;

    /** 收件手机号码 */
    private String telephone;

    /** 收件地址——省 */
    private String province;

    /** 收件地址——市 */
    private String city;

    /** 收件地址——区 */
    private String district;

    /** 收件地址——小区门牌号 */
    private String detail;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Address() {
    }

    public Address(Long id, Long userId, String receiver, String telephone, String province, String city, String district, String detail) {
        this.id = id;
        this.userId = userId;
        this.receiver = receiver;
        this.telephone = telephone;
        this.province = province;
        this.city = city;
        this.district = district;
        this.detail = detail;
    }

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", userId=" + userId +
                ", receiver='" + receiver + '\'' +
                ", telephone='" + telephone + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", district='" + district + '\'' +
                ", detail='" + detail + '\'' +
                '}';
    }
}
